import request from '@/config/axios'


//获取所有栏目
export const schoolColumnList = () => {
  return request.get({ url: '/page-column/list' })
}


//新增栏目
export const schoolColumnInsert = (data) => {
  return request.post({ url: '/page-column/store', data })
}


//修改栏目
export const schoolColumnUpdate = (data) => {
  return request.post({ url: '/page-column/update', data })
}

//删除栏目
export const schoolColumnDel = (params) => {
  return request.get({ url: '/page-column/delete', params })
}
